package xyz.thoughtset.viewer.modules.fun.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import xyz.thoughtset.viewer.modules.fun.entity.FunInfo;

import java.util.List;

@Mapper
public interface FunInfoDao extends BaseMapper<FunInfo> {
    List<FunInfo> findBlockFunsWithInParam(String blockId);
    default List<FunInfo> findAIToolsWithInParam(String serverId){
        return findAIToolsWithInParam(serverId,null);
    }
    List<FunInfo> findAIToolsWithInParam(String serverId,String topic);
}
